package com.cskaoyan.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * xml配置文件里有一个标签
 * <mvc:annotation-driven/>   → @EnableWebMvc
 * 实现WebMvcConfigurer接口 → 通过提供接口的实现方法提供一些信息
 * @author stone
 * @date 2022/11/15 15:09
 */
//@Configuration
@EnableWebMvc
@ComponentScan("com.cskaoyan.controller")
public class WebConfiguration implements WebMvcConfigurer {
}
